//
//  MYXMyBoossCell.m
//  meiyinxiang
//
//  Created by 陈李飞 on 2017/11/4.
//  Copyright © 2017年 hbjApple. All rights reserved.
//

#import "MYXMyBoossCell.h"
#import "MYX_Bossson_listModel.h"
#import "MYX_Bossshouyi_listModel.h"
@implementation MYXMyBoossCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.lineView_H.constant =0.5;
}

-(void)setMYX_Bossson_listM:(MYX_Bossson_listModel *)MYX_Bossson_listM{
    _MYX_Bossson_listM = MYX_Bossson_listM;
    
    if (MYX_Bossson_listM.userface) {
        [self.iconImageV sd_setImageWithURL:[NSURL URLWithString:MYX_Bossson_listM.userface] placeholderImage:[UIImage imageNamed:@"AppIcon"]];
        
    }
    self.titileLabel.text = MYX_Bossson_listM.username;
    self.ContentLabel.text = [NSString stringWithFormat:@"发红包数  %@",MYX_Bossson_listM.redpacktcount];
    
}

-(void)setMYX_Bossshouyi_listMod:(MYX_Bossshouyi_listModel *)MYX_Bossshouyi_listMod{
    _MYX_Bossshouyi_listMod = MYX_Bossshouyi_listMod;
    if (MYX_Bossshouyi_listMod.userface) {
        [self.iconImageV sd_setImageWithURL:[NSURL URLWithString:MYX_Bossshouyi_listMod.userface] placeholderImage:[UIImage imageNamed:@"AppIcon"]];
    }
    self.titileLabel.text = MYX_Bossshouyi_listMod.username;
    self.ContentLabel.text = [NSString stringWithFormat:@"发红包数  %@",MYX_Bossshouyi_listMod.redpacktcount];
    self.rightLabel.text = [NSString stringWithFormat:@"+ %@",MYX_Bossshouyi_listMod.user_money];
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
